﻿<controls:ChildWindow x:Class="GranitePackageSystem.Views.ChildWindows.WorkLogEntryDetails"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="600" Height="400" 
           Title="WorkLogEntryDetails">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="5*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0">
            <TextBlock Text="Request ID" Margin="5,8,5,3" Height="23" />
            <TextBlock Text="Author Name" Margin="5,8,5,3" Height="23" />
            <TextBlock Text="Date" Margin="5,8,5,3" Height="23" />
            <TextBlock Text="Message" Margin="5,8,5,3" Height="23" />
        </StackPanel>
        <StackPanel Grid.Row="0" Grid.Column="1">
            <TextBox Name="boxRequestID" Text="Request ID" Margin="5" IsReadOnly="True" />
            <TextBox Name="boxUserName" Text="Author Name" Margin="5" IsReadOnly="True" />
            <TextBox Name="boxDate" Text="Date" Margin="5" IsReadOnly="True" />
            <RichTextBox Name="boxWorkLogNotes" Margin="5" Height="210" />
        </StackPanel>
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" Grid.ColumnSpan="2" />
        <Button x:Name="OKButton" Content="Save" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" Grid.ColumnSpan="2" />
    </Grid>
</controls:ChildWindow>